package com.cjzuji.rental.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@Accessors(chain = true)
@TableName("consumption_records")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class ConsumptionRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "shop_id")
    private int shopId;  // 店铺名称

    @TableField(value = "platform_id")
    private int platformId; // 平台名称

    @TableField(value = "order_id")
    private String orderId; // 订单编号

    @TableField(value = "amount")
    private Double amount;  //服务费金额

    @TableField(value = "category")
    private String category;  //类目

    @TableField(value = "consume_time")
    private String consumeTime;  // 时间

    @TableField(value = "remark")
    private String remark;  // 备注
}
